package chp10.score;

public class TestScoreCalc3 {

    public static void main(String[] args) {
        ScoreCalc scoreCalc = new ScoreCalc();
        int chinese = 10;
        int math = 20;
        int english = 30;
        int sum = scoreCalc.getTotal(chinese,math,english);
        System.out.println("总分:"+sum);
        int avg = scoreCalc.getAvg(chinese,math,english);
        System.out.println("平均分:"+avg);
    }
}
